package com.freeman.cement.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.freeman.cement.entity.AutoAssignmentConfig;
import org.apache.ibatis.annotations.Param;
import java.util.List;

public interface AutoAssignmentConfigDao extends BaseMapper<AutoAssignmentConfig> {

    List<AutoAssignmentConfig> selectAssignmentFuzzy(@Param("cameraName") String cameraName, @Param("eventTypeName") String eventTypeName, @Param("isEnabled") Boolean isEnabled, @Param("isSmsEnabled") Boolean isSmsEnabled);

    AutoAssignmentConfig selectAssignmentById(@Param("id") int id);
}
